package org.codeart.ioc.service;

import org.codeart.ioc.annotation.Component;
import org.codeart.ioc.annotation.Inject;
import org.codeart.ioc.dao.UserDao;
import org.codeart.ioc.pojo.User;

import java.util.List;

@Component
public class UserService {
    
    @Inject
    private UserDao userDao;

    public List<User> getUserList() {
        return userDao.getUserList();
    }

}
